﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Eacademy.Domain.Models;

namespace Eacademy.Domain.Abstractions
{
    public interface IMessageRepository
    {
        MessageViewModel GetSubjectByConversationId(int id);
        bool ReplyMessage(StudentMessagesViewModel studentMessagesViewModel);
        List<MessageViewModel> GetMessagesForConversationId(int conversationId);
        List<MessageViewModel> GetConversationsForUserId(int userid, int pageIndex, int pageSize, out int totalCount, bool count = true);
        bool CreateMessage(StudentMessagesViewModel studentMessagesViewModel);
    }
}